package com.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.mapper.CollectionMapper;
import com.example.pojo.Collection;
import com.example.service.CollectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CollectionServiceImpl extends ServiceImpl<CollectionMapper, Collection> implements CollectionService {

    @Autowired
    private CollectionMapper collectionMapper;

    @Override
    public int count3() {
        return collectionMapper.count3();
    }

    @Override
    public int count4() {
        return collectionMapper.count4();
    }
}
